<?php
/* @var $this ProjectController */
/* @var $data Project */
?>

<div class="view">

	<!--b><?php echo CHtml::encode($data->getAttributeLabel('id')); ?>:</b>
	<?php echo CHtml::link(CHtml::encode($data->id), array('view', 'id'=>$data->id)); ?>
	<br /-->

	<b><?php echo CHtml::encode($data->getAttributeLabel('name')); ?>:</b>
	<?php echo CHtml::encode($data->name); ?>
	<!--br /-->

	<!--b><?php echo CHtml::encode($data->getAttributeLabel('subtitle')); ?>:</b-->
	(<?php echo CHtml::encode($data->subtitle); ?>)
	<br />

	<p><b><?php echo CHtml::encode($data->getAttributeLabel('description')); ?>:</b>
	<?php echo CHtml::encode($data->description); ?></p>
	<br />

	<!--b><?php echo CHtml::encode($data->getAttributeLabel('brief')); ?>:</b>
	<?php echo CHtml::encode($data->brief); ?>
	<br /-->

	<!--b><?php echo CHtml::encode($data->getAttributeLabel('location')); ?>:</b>
	<?php echo CHtml::encode($data->location); ?>
	<br /-->

	<!--b><?php echo CHtml::encode($data->getAttributeLabel('address_details')); ?>:</b-->
	<b><?php echo CHtml::encode('Address'); ?>:</b>
	<?php echo CHtml::encode($data->address_details); ?>, 
	<?php echo CHtml::encode($data->city); ?>, 
	<?php echo CHtml::encode($data->province); ?>, 
	<?php echo CHtml::encode($data->country); ?>
	<br />
	<?php echo CHtml::link('More Details', array('project/view', 'id'=>$data->id)); ?>
	<br />
	<?php echo CHtml::link('Show on Map', array('mapview/showonmap', 'id'=>$data->id,'optVal'=>false)); ?></b>
	<br />

	<hr>
	<?php /*
	<b><?php echo CHtml::encode($data->getAttributeLabel('city')); ?>:</b>
	<?php echo CHtml::encode($data->city); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('province')); ?>:</b>
	<?php echo CHtml::encode($data->province); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('country')); ?>:</b>
	<?php echo CHtml::encode($data->country); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('building_features')); ?>:</b>
	<?php echo CHtml::encode($data->building_features); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('features')); ?>:</b>
	<?php echo CHtml::encode($data->features); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('amenities')); ?>:</b>
	<?php echo CHtml::encode($data->amenities); ?>
	<br />

	<b><?php echo CHtml::encode($data->getAttributeLabel('latlng')); ?>:</b>
	<?php echo CHtml::encode($data->latlng); ?>
	<br />
	
	<b><?php echo CHtml::encode($data->getAttributeLabel('views')); ?>:</b>
	<?php echo CHtml::encode($data->views); ?>
	<br />

	*/ ?>

</div>